<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>node-test-from</title>
</head>
<body>
<form class="form-horizontal" method="post" action="http:127.0.0.1:2000/chen">
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">姓名</label>
        <div class="col-sm-4">
            <input type="text" name="username" class="form-control" id="inputEmail3">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">性别</label>
        <div class="col-sm-4">
            <label class="radio-inline">
                <input type="radio" name="sex" value="男" checked> 男
            </label>
            <label class="radio-inline">
                <input type="radio" name="sex" value="女"> 女
            </label>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">爱好</label>
        <div class="col-sm-4">
            <label class="checkbox-inline">
                <input type="checkbox" name="hobby" checked value="吃饭"> 吃饭
            </label>
            <label class="checkbox-inline">
                <input type="checkbox" name="hobby" value="睡觉"> 睡觉
            </label>
            <label class="checkbox-inline">
                <input type="checkbox" name="hobby" value="打豆豆"> 打豆豆
            </label>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">提交</button>
        </div>
    </div>
</form>
</body>
</html>
